@import url(./focusPage.css);

.wrap {
    padding-top: 102px;
}

nav {
    display: flex;
    height: 42px;
    line-height: 42px;
    box-sizing: border-box;
    border-bottom: 1px solid #e2e2e2;
    padding: 0;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 10;
    min-width: 320px;
    max-width: 750px;
    margin: auto;
    width: 100%;
}

nav p {
    flex: 1;
    height: 42px;
    line-height: 42px;
    text-align: center;
    color: #646464;
}

nav p span {
    display: block;
    width: max-content;
    margin: 0 auto;
    position: relative;
    font-size: 15px;
}

nav .con span {
    color: #0cc85c;
}

nav .con span::after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #0cc85c;
    border-radius: 3px;
}

main .msg-item {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #e6e6e6;
}

main .msg-item .icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
}

main .msg-item .text {
    flex: 1;
    margin-left: 10px;
}

main .msg-item .title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

main .msg-item .title span {
    display: block;
    color: #343434;
    height: 22px;
    line-height: 22px;
    font-size: 15px;
}

main .msg-item .title small {
    font-size: 12px;
    color: #0cc85c;
}

main .msg-item .age {
    background-color: #1dc8f0;
    height: 16px;
    line-height: 16px;
    border-radius: 3px;
    width: max-content;
    color: #fff;
    padding: 0 4px;
}

main .msg-item .age span {
    display: inline-block;
    transform: scale(.7);
    margin-left: -4px;
}

main .msg-item .age::before {
    content: "";
    display: inline-block;
    background: url('../imgs/man-woman.png') no-repeat 0 0;
    background-size: 10px 81px;
    width: 10px;
    height: 11px;
}

main .msg-item .woman {
    background-color: #f452a2;
}

main .msg-item .woman::before {
    background: url('../imgs/man-woman.png') no-repeat 0 -70px;
    background-size: 10px 81px;
    width: 8px;
    height: 11px;
}

main .msg-item .time {
    font-size: 12px;
    color: #bebebe;
    height: 28px;
    line-height: 28px;
    margin-bottom: 5px;
}

main .msg-item .reply {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
}

main .msg-item .reply h5 {
    font-weight: normal;
    color: #969696;
    height: 31px;
    line-height: 31px;
}

main .msg-item .reply p {
    color: #646464;
    line-height: 20px;
    padding: 4px 0 5px;
    font-size: 15px;
}

main .msg-item .content {
    color: #323232;
    line-height: 20px;
    margin: 11px 0;
    font-size: 15px;
}

main .msg-item .origin {
    border: 1px solid #e0e0e0;
}

main>div{
    display: none;
}

main .con{
    display: block;
}